home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 1997 May / PC Plus Super CD Issue 127 (May 1997).iso / handson / handson.exe / TSUTLD.INF < prev    next >
Encoding:
INI File  |  1997-01-25  |  13.8 KB  |  362 lines

  1.                            - 1 -
  2. Sat 25-January-1997
  3.  
  4. About TSUTLD in General                        (All rights reserved)
  5. =======================
  6.  
  7. ┌───────────────────────────────────────────────────────────────┐
  8. │ Please do not distribute any part of this package separately. │
  9. └───────────────────────────────────────────────────────────────┘
  10.  
  11. This is the fourth package in my utilities series. TSUTLD is a
  12. stand-alone companion to TSUTIL, TSUTLB, TSUTLC, TSUTLE, TSUTLF and
  13. TSUTLG. Although this TSUTLD set is for any type of PC, some of it
  14. is slightly inclined towards utilities with a laptop flavor.
  15.  
  16. This package may be used and distributed freely for NON-COMMERCIAL,
  17. NON-INSTITUTIONAL, PRIVATE purposes, provided it is not changed in
  18. any way. (Repacking with another method is ok, though.) For ANY
  19. other usage, such as use in a business enterprise or a university,
  20. contact the author for registration. Uploading to bulletin boards is
  21. encouraged.
  22.  
  23. The programs are under development. Comments and contacts are
  24. solicited. If you have any comments or bug reports, please do not
  25. hesitate to use electronic mail for communication.
  26.  
  27. The author shall not be liable to the user for any direct, indirect
  28. or consequential loss arising from the use of, or inability to use,
  29. any program or file howsoever caused. No warranty is given that the
  30. programs will work under all circumstances.
  31.  
  32. Timo Salmi (email: ts@uwasa.fi WWW: http://uwasa.fi/~ts/)
  33. Professor of Accounting and Business Finance
  34. Faculty of Accounting & Industrial Management
  35. University of Vaasa
  36. P.O. BOX 700, FIN-65101 Vaasa, Finland
  37.  
  38.  
  39. Timo Salmi UTiLities set D, release 2.3 includes the following
  40. *    *     ** *          *          * *
  41. utility-type programs:
  42.  
  43. TSUTLD23        Fourth set of Utilities, T.Salmi
  44. Filename        Comment
  45. --------        --------------------------------
  46. ADJCURS.BAT     Batch shell for adjusting cursor
  47. BIGCURS.EXE     Make the cursor better visible
  48. BIGNCURS.EXE    NonResident temporary big cursor
  49. CAPS.EXE        Get/set keyboard toggles
  50. FILES.EXE       Summary of your different files
  51. FILE_ID.DIZ     Brief characterization of tsutld
  52. KEYRATE.EXE     Set keyboard repeat rate & delay
  53. POPSCR.EXE      Pop screen from image file
  54. PSK.EXE         Dis/enable the PrintScreen key
  55. PUSHSCR.EXE     Push screen to image file
  56. SETPRT.EXE      Set PrintScreen retry times
  57. SWITCHAR.EXE    Makes Unix freaks feel at home
  58. TODAY.EXE       Scan disk for files made today
  59. TSPROG.INF      List of PD programs from T.Salmi
  60. TSUTLD.INF      Document
  61. TSUTLD.NWS      News announcements about tsutld
  62. VAASA.INF       Info: Finland, Vaasa, U of Vaasa
  63. WARMBOOT.EXE    Reboot with/without memory tests
  64. ----            ------             ------  -----
  65. 0018            158211
  66.  
  67.  
  68.                            - 2 -
  69.  
  70. ADJCURS.BAT  Adjust cursor size
  71. ===========
  72.  
  73. Usage: ADJCURS choice
  74. where the choice must be 1-7:
  75.   1  Big resident cursor
  76.   2  Medium resident cursor
  77.   3  Big transient cursor
  78.   4  Medium transient cursor
  79.   5  Restore original cursor for 1 and 2
  80.   6  Restore original cursor for 3 and 4
  81.   7  Map the resident programs
  82.  
  83. Although BIGCURS.EXE and BIGNCURS.EXE can be used without further
  84. utilities, to use *this batch* you must have the TSR Utilities from
  85. TurboPower Software. In particular you'll need the programs
  86. MARK.EXE, RELEASE.EXE, and MAPMEM.EXE. Another utility that is
  87. necessary for this batch, is RESET.EXE by Timo Salmi. RESET restores
  88. the original screen settings. You should be able to obtain them by
  89. downloading TSRCOM35.ZIP and TSUTIL41.ZIP (or whichever version
  90. numbers are current) from any well-stocked BBS or FTP site, such as
  91. Vaasa FreePort BBS and garbo.uwasa.fi, 128.214.87.1, Vaasa, Finland.
  92. ┌───────────────────────────────────────────────────────────────┐
  93. │ Warning: It is not advisable to load the resident cursor more │
  94. │ than once.                                                    │
  95. └───────────────────────────────────────────────────────────────┘
  96.  
  97. Hint: First experiment with the non-resident BIGNCURS.EXE to find
  98. the cursor size you prefer, and then apply BIGCURS.EXE.
  99.  
  100. Release notes: Release 1.1: I have now tested the programs with
  101. several video adapters. I have added the option to give the
  102. starting scan line of the cursor as a numerical parameter.  For
  103. example to get a medium size cursor you can alternatively use
  104.      BIGCURS 3
  105. or whatever is best applicable on your system. Another improvement,
  106. thanks to Erik Jacobsen, is that the BIGCURS.EXE program releases
  107. the timer interrupt for the other resident programs that may be
  108. running. Thus the other TSRs that may use the timer, are not frozen
  109. by bigcurs.
  110.  
  111. Release 2.1:
  112. - The batch now checks whether the resident cursor has already been
  113.   loaded, so that the user cannot mistakenly load an extra copy on
  114.   top of the already loaded one.
  115. - The batch now recognizes also MsDos 6.0 to load the resident big
  116.   cursor in the upper memory for MsDos 5.0 or 6.0.
  117.  
  118.  
  119. CAPS (Ver. 1.1)  Get/set keyboard toggles
  120. ===============
  121.  
  122. Usage :   CAPS [get] [c+│-] [n+│-] [s+│-] [/b]
  123.  only get status ─┘   │      │      │       │
  124.         set CapsLock ─┘      │      │       │
  125.                 set NumLock ─┘      │       │
  126.                     set ScrollLock ─┘       │
  127.                      batch mode, no output ─┘
  128.  
  129. The purpose of this program is to set and/or report the state of the
  130. keyboard toggles. This is useful in special situations such as in
  131. batch files when the state of these toggles need to be controlled,
  132. or if there are no keyboard leds, or if there is something wrong
  133. with the keyboard keys or leds.
  134.  
  135. The output will be in the format:
  136.    CapsLock   OFF
  137.    NumLock    ON
  138.    Insert     OFF
  139.    ScrollLock OFF
  140.  
  141. An example. If you wish that the NumLock key is off when you boot
  142. our PC, put the following, simple line in our autoexec.bat file
  143.  CAPS n-
  144.  
  145.  
  146. FILES (Ver. 1.2a)  Summary of your different files
  147. =================
  148.  
  149. Where does all your precious disk space go? FILES.EXE can be used to
  150. answer this question. It gives the following type of statistics
  151. (this is for my laptop's ramdisk):
  152.  
  153. Type       Count        Size  Allocation  Efficiency
  154. .              1         419         512       81.84
  155. .COM           4       13473       13696       98.37
  156. .EXE           3      106212      106368       99.85
  157. .TPU           1       15536       15616       99.49
  158. Total D:       9      135640      136192       99.59
  159.  
  160. The statistics can be sorted by any of the fields:
  161.  
  162. Usage: FILES [device:]
  163.              [/n(o sort)]       (the default sort is by extension)
  164.              [/c(ount sort)]
  165.              [/s(ize sort)]
  166.              [/a(allocation sort)]
  167.              [/e(fficiency sort)]
  168.              [/r(everse sort)]
  169.    or: FILES ?
  170.  
  171. Hint 1: If you have several partitions on your harddisk, and want to
  172. assess the overall file usage, apply MsDos join command before
  173. running files.exe. See your MsDos manual for using join.
  174.  
  175. Hint 2: FILES does not include a switch for page by page scrolling
  176. since this is easily achieved by proper filtering. For example use
  177. FILES | MORE or better still, if you have Veron Buerg's well-known
  178. list program, use FILES | LIST /S.
  179.  
  180. Release notes:
  181.    Version 1.2: If the files are sorted by count (/c), size (/s), or
  182. allocation (/a), the percentage of each file type is shown as an
  183. additional column. - The capacity of the program has been increased
  184. from 2500 different file types to 3000.
  185.    Version 1.2a: Brought address information up to date.
  186.  
  187.  
  188. POPSCR.EXE (Ver 1.1)  Pop screen from image file saved by PUSHSCR
  189. ====================
  190.  
  191. Usage: POPSCR ImageFileName
  192.  
  193. For batch programming, returns errorlevel 1 if operation
  194. unsuccessful, else 0.
  195.  
  196. PUSHSCR, POPSCR, and RESET from TSUTIL*.ZIP) make up a set of
  197. related utilities, but very useful in cases where you wish to
  198. restore the original screen after running an application
  199. (YourProgram). To utilize this idea make the following kind of a
  200. batch to call your application. You may have to edit the paths (r:\)
  201. somewhat.  I have used r:\ below because my r: drive is a ramdisk
  202. which makes this very fast. But you do not need a ramdisk. Any drive
  203. / directory will do just as well.
  204.  
  205.  @echo off
  206.  pushscr r:\tmp$$$.scn /o
  207.  YourProgram %1 %2 %3 %4 %5 %6 %7 %8 %9
  208.  reset
  209.  popscr r:\tmp$$$.scn
  210.  if exist r:\tmp$$$.scn del r:\tmp$$$.scn > nul
  211.  
  212. Release notes: Version 1.1:
  213. - Added 43/50 lines support
  214.  
  215. Release notes: Version 1.2:
  216. - Improved the screen image file status checking
  217.  
  218.  
  219. PUSHSCR.EXE (Ver 1.2)  Push screen to image file
  220. =====================
  221.  
  222. Usage: PUSHSCR ImageFileName [/o]
  223.   overwrite if already exists ─┘
  224.  
  225. For batch programming, returns errorlevel 1 if operation
  226. unsuccessful, else 0.
  227.  
  228. Release notes: Version 1.1:
  229. - Added 43/50 lines support
  230.  
  231. Release notes: Version 1.2:
  232. - Improved the screen image file status checking
  233.  
  234.  
  235. KEYRATE (Ver. 1.0a)  Set keyboard repeat rate & delay
  236. ===================
  237.  
  238. Usage: KEYRATE DelayCode RepeatRateCode [/b]
  239.                                           └─ batch mode, no output
  240.  
  241. When a key is held down there is a default delay before it starts
  242. repeating, and then the key repeats at a default rate. KEYRATE
  243. resets both the delay, and the repeat rate. The facility is useful
  244. e.g. when you want to speed up the cursor movement by increasing the
  245. repeat rate. Or if you have a faulty keyboard striking ddoouubble,
  246. you can try a temporary remedy by increasing the delay. The
  247. facilities used in this program do not work for XTs and older ATs.
  248. The delay and the rate are coded as follows:
  249.       code   delay (ms)     code    rate (chars per sec)
  250.        0      250             0     30.0
  251.        1      500             1     26.7
  252.        2      750             2     24.0
  253.        3     1000             3     21.8
  254.                               4     20.0
  255.                               :       :
  256.                              30      2.1
  257.                              31      2.0
  258. KEYRATE recognizes the type of your processor chip and ROM BIOS
  259. version and informs whether the program is likely to have an effect
  260. or not.
  261.    If you have MsDos 5.0, or later, you can naturally use MsDos's
  262. own mode command e.g. as follows MODE con: rate=30 relay=1
  263.  
  264. Release notes:
  265.    Version 1.0a: Brought address information up to date.
  266.  
  267.  
  268. PSK (Ver. 1.0) Dis/enable the PrintScreen key
  269. ==============
  270.  
  271. PSK.EXE was added to this collection in release TSUTLD14.arc.
  272. Running PSK disables your PrintScreen key. It works as a toggle.
  273. Running PSK again reverses the process and enables the PrintScreen
  274. key. This is a utility that is particularly useful on laptops with
  275. cramped keyboads where you want to avoid the consequences of an
  276. accidental hitting of the PrintScreen key. Internally, PSK works by
  277. manipulating the contents of the memory location 0000:0500 Hex.
  278.  
  279.  
  280. SETPRT (Ver 1.0) Set PrintScreen retry times
  281. ================
  282.  
  283. Usage: SETPRT [RetryTimes]
  284.  
  285. If your printer is offline and you hit the PrintScreen key by
  286. accident, (depending on your hardware) you may be in for an annoying
  287. wait while your computer goes through its (default 20) recycles of
  288. retrying the printing. You can use this program to reset the times
  289. your computer retries PrintScreen before your computer accepts input
  290. again. Notice that some systems detect the printer's offline status
  291. immediately, others don't. You'll need setprt in the former case.
  292. For example I have a Zenith Z-181 laptop as one of my many PCs, and
  293. I find it useful to reset the retry times to 3 in its autoexec.bat.
  294. On the other hand, I don't need this trick on my Trifunic 386
  295. desktop, since it detects the offline condition of the printer as
  296. soon as I apply the PrintScreen key.
  297.  
  298. Hint: Using an excessively small value, like 1, may cause problems
  299. by giving too hasty offline feedback to some programs.
  300.  
  301.  
  302. SWITCHAR (Ver 1.1)  Toggle the switch character
  303. ==================
  304.  
  305. In our series of completely useless programs please meet switchar
  306. for Unix freaks. Switchar toggles the MsDos switchar between the
  307. slash (/) and the hyphen (-). When the switchar is the hyphen, the
  308. slash can be used in path names instead of the backslash (\).  Have
  309. fun.
  310.  
  311. Example: You can use expressions like dir -w c:/progs/yak
  312.  
  313. Warning 1: Using the hyphen as switchar may have unexpected effects
  314. on some programs.
  315.  
  316. Warning 2: I think this option does not work for MsDos 5+. If I
  317. recall correctly, the feature was dropped.
  318.  
  319.  
  320. TODAY (Ver. 1.2)  Scan disk for files made today
  321. ================
  322.  
  323. Usage: TODAY DirectoryMask [/the options (see below)]
  324.  /Bxx     since xx days Back
  325.  /Dddmmyy since ddmmyy
  326.  /E       only Exact date (else date and later)
  327.  /N       No recursion (else all files in the default directory and below)
  328.  
  329. Examples:
  330.  To scan the entire disk: TODAY C: or TODAY C:\
  331.  To scan the current directory and its subdirectories: TODAY *.*
  332.  To scan the Pascal files for today and yesterday: TODAY C:\*.PAS /B1
  333.  
  334. Hidden files are indicated by h, and read-only files by r.
  335.  
  336. Release notes:
  337.   Version 1.2: Corrected a file mask bug in formats like TODAY . and
  338. TODAY D: when used from another drive like C:.
  339.   Version 1.3: Corrected a directory detection routine bug which
  340. misled the program in the Windows' dos box.
  341.  
  342.  
  343. WARMBOOT (Ver. 1.1)  Reboot with/without memory tests
  344. ===================
  345.  
  346. Reboot your PC as if alt-crtl-del had been pressed
  347.  
  348. Usage: WARMBOOT [/b] [/c] [/e] [/n] [/t]
  349.       Batch mode ─┘    │    │    │    │
  350.      Coldboot instead ─┘    │    │    │
  351.                    Execute ─┘    │    │
  352.                 No confirmation ─┘    │
  353.      Test only, don't actually reboot─┘
  354.  
  355. If there are errors, errorlevel is set to 1 for batch usage.
  356.  
  357. Looking for a program to reboot one's PC from a batch file has been
  358. a frequent question on the Usenet news. The replies often present a
  359. quick assembler code. Be cafeful. Usually they do not flush the
  360. buffers before rebooting and you might lose some data. Disclaimer:
  361. No program can guarantee absolute safety from harm's way.
  362.